.data-table__search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e1e5e9;
  gap: 20px;
}

.data-table__search-left {
  display: flex;
  align-items: center;
}

.data-table__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.data-table__title-icon {
  font-size: 18px;
  color: #374151;
}

.data-table__title-text {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.data-table__search-center {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.data-table__search-input {
  position: relative;
  display: flex;
  align-items: center;
}

.data-table__search-icon {
  position: absolute;
  left: 12px;
  color: #9ca3af;
  font-size: 14px;
  z-index: 1;
}

.data-table__search-field {
  width: 300px;
  height: 36px;
  padding: 0 12px 0 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 14px;
  color: #374151;
  outline: none;
  transition: border-color 0.2s ease;
}

.data-table__search-field:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.data-table__search-field::placeholder {
  color: #9ca3af;
}

.data-table__filter {
  position: relative;
  display: flex;
  align-items: center;
}

.data-table__filter-select {
  width: 100px;
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 14px;
  color: #9ca3af;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.data-table__filter-select:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.data-table__filter-arrow {
  position: absolute;
  right: 8px;
  color: #9ca3af;
  font-size: 12px;
  pointer-events: none;
}

.data-table__count {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}

.data-table__search-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.data-table__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  min-width: 80px;
  white-space: nowrap;
}

.data-table__btn--new {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(74, 222, 128, 0.2);
}

.data-table__btn--new:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 8px rgba(74, 222, 128, 0.3);
}

.data-table__btn--filter {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
}

.data-table__btn--filter:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  box-shadow: 0 4px 8px rgba(107, 114, 128, 0.3);
}

.data-table__btn-icon {
  font-size: 16px;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .data-table__search {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .data-table__search-center {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .data-table__search-field {
    width: 100%;
  }
  
  .data-table__search-right {
    width: 100%;
    justify-content: center;
  }
}
